﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Register.aspx.cs" Inherits="MusicOnSpace.Register" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div class="leftSide">
    
    <form id="Regist" method="get" action="TrangChu.aspx">
    <div id="formRegister">
        <br />
        <label> Tên Đăng Nhập </label>
        <asp:TextBox runat="server" ID ="txtId"></asp:TextBox>
        <%--<input type="text" name="txtId" id="txtId"/>--%>
        <asp:RegularExpressionValidator ID="regexName" runat="server" ErrorMessage="Hãy lựa chọn tên đăng nhập khác" ControlToValidate="txtId" ValidationExpression="^[a-zA-Z'.\s]{1,40}$" />
        <br />
        <br />
        <label> Mật khẩu </label>
        <asp:TextBox runat="server" ID="txtPass" TextMode="Password" ></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="Hãy lựa chọn mật khẩu  khác" ControlToValidate="txtPass" ValidationExpression="(?!^[0-9]*$)(?!^[a-zA-Z]*$)^([a-zA-Z0-9]{8,10})$" />
        <%--<input type="text" name="txtId" id="txtPass"/>--%>
        <br />
        <br />
        <label> Email </label>
        <asp:TextBox runat="server" ID="txtEmail"></asp:TextBox>
        
        <%--<input type="text" name="txtId" id="txtEmail"/>--%>
        <br />
        <br />
        <label> Giới tính </label>
        <select id="cmbSex" name="cmbSex"><option>Nam</option><option>Nữ</option></select>
        <br />
        <br />
        <label> Dòng nhạc ưa thích </label>
        <asp:DropDownList DataSource="
        <select id="cmbGenre" name="cmbGenre"><option>Rock</option>
                <option>Pop</option>
                <option>Classical</option>
                <option>Rap</option>
                <option>HipHop</option>
                <option>Country</option>
        </select>
        <br />
        <br />
        <label> Quốc gia </label>
        
        <select id="cmbNation" name="cmbNation"> <option>Việt Nam (Vietnam)</option>
                 <option>Mỹ (USA)</option>
                 <option>Hàn Quốc (Korea)</option>
                 <option>Nhật Bản (Japan)</option>
                 <option>Trung Quốc (China)</option>
                 <option>Ấn Độ (India)</option>
                 <option>Anh (UK)</option>
                 <option>Pháp (France)</option>
                 <option>Việt Nam</option>   
        </select>
        <br />
        <br />
        <asp:Button ID="BtnRegister" Text="Register" runat="server" 
            onclick="BtnRegister_Click"/>
        <%--<input type="submit" name="Register" id="btnRegister" value="Register" />--%>
        <br />
        <br />
        <a href="Global.asax" type="text/asa"> Đọc thêm về điều khoản sử dụng </a>
        <input type="checkbox" name="chkAgree" value="Tôi đã đọc và đồng ý về điều khoản sử dụng MoS"/>
        <br />
     </div>
    </form>
  
       <br />
       <div>
            
       </div>
    </div>

    
    <div class="rightSide">
       <p>something here</p>
    </div>
</asp:Content>
